<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景填充</title>
    <style>
        .show-bg{
            /* width: 800px; */
            width: 100%;
            height: 79px;
            background: url("../../images/bg.png") no-repeat;
            /* background-color: purple; */
            /* background-image: url("../../images/bg.png");
            background-repeat: repeat-y; */
        }

        .show-bg:hover{
            background-color: aqua;
        }
    </style>
</head>
<body>
    <div class="show-bg"></div>
</body>
</html>